package com;

public class PrintSystemProperties {
    public static void main(String[] args) {
        // 输出系统变量
        String propName = "java.home";
        System.out.println(propName + "=" + System.getProperty(propName));
    }
}
